package com.sky.announce.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sky.common.annotation.Excel;
import com.sky.common.core.domain.BaseEntity;

/**
 * 公告管理对象 tb_announce
 * 
 * @author Kunpeng
 * @date 2025-07-14
 */
public class Announce extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 中标公告ID */
    private Long id;

    /** 公告编号 */
    @Excel(name = "公告编号")
    private String announcementNo;

    /** 公告名称 */
    @Excel(name = "公告名称")
    private String title;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String procurementMethod;

    /** 包租编号 */
    @Excel(name = "包租编号")
    private String packageGroupId;

    /** 包租名称 */
    @Excel(name = "包租名称")
    private String packageGroupName;

    /** 包租预算价（万元） */
    @Excel(name = "包租预算价", readConverterExp = "万=元")
    private BigDecimal packageGroupBudgetPrice;

    /** 说明 */
    @Excel(name = "说明")
    private String description;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String content;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    /** 审核员审批(0:未审批,1:已审批) */
    @Excel(name = "审核员审批(0:未审批,1:已审批)")
    private Long reviewerApproval;

    /** 总经理审批(0:未审批,1:已审批) */
    @Excel(name = "总经理审批(0:未审批,1:已审批)")
    private Long managerApproval;

    /** 删除标志（0代表存在，2代表删除) */
    private String delFlag;

    /** 人员管理信息 */
    private List<Person> personList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAnnouncementNo(String announcementNo) 
    {
        this.announcementNo = announcementNo;
    }

    public String getAnnouncementNo() 
    {
        return announcementNo;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

    public void setProjectCode(String projectCode) 
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode() 
    {
        return projectCode;
    }

    public void setProcurementMethod(String procurementMethod) 
    {
        this.procurementMethod = procurementMethod;
    }

    public String getProcurementMethod() 
    {
        return procurementMethod;
    }

    public void setPackageGroupId(String packageGroupId) 
    {
        this.packageGroupId = packageGroupId;
    }

    public String getPackageGroupId() 
    {
        return packageGroupId;
    }

    public void setPackageGroupName(String packageGroupName) 
    {
        this.packageGroupName = packageGroupName;
    }

    public String getPackageGroupName() 
    {
        return packageGroupName;
    }

    public void setPackageGroupBudgetPrice(BigDecimal packageGroupBudgetPrice) 
    {
        this.packageGroupBudgetPrice = packageGroupBudgetPrice;
    }

    public BigDecimal getPackageGroupBudgetPrice() 
    {
        return packageGroupBudgetPrice;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }

    public void setReviewerApproval(Long reviewerApproval) 
    {
        this.reviewerApproval = reviewerApproval;
    }

    public Long getReviewerApproval() 
    {
        return reviewerApproval;
    }

    public void setManagerApproval(Long managerApproval) 
    {
        this.managerApproval = managerApproval;
    }

    public Long getManagerApproval() 
    {
        return managerApproval;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<Person> getPersonList()
    {
        return personList;
    }

    public void setPersonList(List<Person> personList)
    {
        this.personList = personList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("announcementNo", getAnnouncementNo())
            .append("title", getTitle())
            .append("projectName", getProjectName())
            .append("projectCode", getProjectCode())
            .append("procurementMethod", getProcurementMethod())
            .append("packageGroupId", getPackageGroupId())
            .append("packageGroupName", getPackageGroupName())
            .append("packageGroupBudgetPrice", getPackageGroupBudgetPrice())
            .append("description", getDescription())
            .append("content", getContent())
            .append("attachment", getAttachment())
            .append("reviewerApproval", getReviewerApproval())
            .append("managerApproval", getManagerApproval())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("personList", getPersonList())
            .toString();
    }
}
